const express=require('express');
const router=new express.Router();
const service=require('./service.js');
router.get('/book',service.showAllBook);
router.post('/toAddBook',service.toAddBook);
router.get('/toGetBookById',service.toGetbookById);
router.get('/toDelBook',service.toDelBook);
router.post('/toEditBook',service.toEditBook);
module.exports=router;
